cmake_minimum_required(VERSION 3.10)
project(MyProject)  # 项目名称

# 设置 C++ 标准
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(CMAKE_BUILD_TYPE Debug)

add_definitions(-D__UNIT_TEST__)
add_subdirectory(src)